package org.mspring.mlog.service;

import net.sf.ehcache.Ehcache;

/**
 * @author Gao Youbo
 * @since 2013年12月29日
 */
public interface RegionCacheService {
    public static final String REGION_CACHE_NAME_PRE = "REGION_";

    public boolean cacheExists(String cacheName);

    public Ehcache getRegionCache(String cacheName);

    public Ehcache addRegionCache(String cacheName);

    public void updateCacheValue(String cacheName, String key, Object value, long expiry);

}